﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace HuaweiCloud.Dotnet.Samples.ESports.Main.Migrations
{
    public partial class InitData : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "BindInfos",
                columns: new[] { "Id", "DeviceId", "UserId" },
                values: new object[,]
                {
                    { new Guid("3a06c51a-6e21-5eb1-82f3-a5e8722446d7"), new Guid("3a06c51a-6e21-a561-638f-89fa821f172b"), new Guid("3a06c51a-6e21-e703-c8dc-33f6f826e6bb") },
                    { new Guid("3a06c51a-6e21-70bc-1bda-f0e338cbd304"), new Guid("3a06c51a-6e21-b5f2-4677-4ec78262ca93"), new Guid("3a06c51a-6e21-3f07-4163-11e24cb8d827") },
                    { new Guid("3a06c51a-6e21-be46-dd1c-f1f5b7b37188"), new Guid("3a06c51a-6e21-a649-9e97-53bc47f43e14"), new Guid("3a06c51a-6e21-057c-1eed-2aff1eb5cdf0") },
                    { new Guid("3a06c51a-6e21-dad5-4f6c-69778cf84d54"), new Guid("3a06c51a-6e21-7592-bb55-89c4edf9bb57"), new Guid("3a06c51a-6e21-d700-d4ef-0e34feb853ae") }
                });

            migrationBuilder.InsertData(
                table: "Devices",
                columns: new[] { "Id", "Description", "Type" },
                values: new object[,]
                {
                    { new Guid("3a06c51a-6e21-7592-bb55-89c4edf9bb57"), "GT3 Pro", "Watch" },
                    { new Guid("3a06c51a-6e21-a561-638f-89fa821f172b"), "GT3 Lite", "Watch" },
                    { new Guid("3a06c51a-6e21-a649-9e97-53bc47f43e14"), "GT", "Watch" },
                    { new Guid("3a06c51a-6e21-b5f2-4677-4ec78262ca93"), "GT2", "Watch" }
                });

            migrationBuilder.InsertData(
                table: "Users",
                columns: new[] { "Id", "NickName" },
                values: new object[,]
                {
                    { new Guid("3a06c51a-6e21-057c-1eed-2aff1eb5cdf0"), "Gigee" },
                    { new Guid("3a06c51a-6e21-3f07-4163-11e24cb8d827"), "Bane" },
                    { new Guid("3a06c51a-6e21-d700-d4ef-0e34feb853ae"), "Zoom" },
                    { new Guid("3a06c51a-6e21-e703-c8dc-33f6f826e6bb"), "Lara" }
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "BindInfos",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-5eb1-82f3-a5e8722446d7"));

            migrationBuilder.DeleteData(
                table: "BindInfos",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-70bc-1bda-f0e338cbd304"));

            migrationBuilder.DeleteData(
                table: "BindInfos",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-be46-dd1c-f1f5b7b37188"));

            migrationBuilder.DeleteData(
                table: "BindInfos",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-dad5-4f6c-69778cf84d54"));

            migrationBuilder.DeleteData(
                table: "Devices",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-7592-bb55-89c4edf9bb57"));

            migrationBuilder.DeleteData(
                table: "Devices",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-a561-638f-89fa821f172b"));

            migrationBuilder.DeleteData(
                table: "Devices",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-a649-9e97-53bc47f43e14"));

            migrationBuilder.DeleteData(
                table: "Devices",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-b5f2-4677-4ec78262ca93"));

            migrationBuilder.DeleteData(
                table: "Users",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-057c-1eed-2aff1eb5cdf0"));

            migrationBuilder.DeleteData(
                table: "Users",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-3f07-4163-11e24cb8d827"));

            migrationBuilder.DeleteData(
                table: "Users",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-d700-d4ef-0e34feb853ae"));

            migrationBuilder.DeleteData(
                table: "Users",
                keyColumn: "Id",
                keyValue: new Guid("3a06c51a-6e21-e703-c8dc-33f6f826e6bb"));
        }
    }
}
